<?php

namespace backend\models\right;

use Yii;

/**
 * This is the model class for table "job_admin_relation".
 *
 * @property integer $id
 * @property integer $admin_id
 * @property integer $right_id
 */
class JobAdminRelation extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'job_admin_relation';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['admin_id', 'right_id'], 'integer']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'admin_id' => 'Admin ID',
            'right_id' => 'Right ID',
        ];
    }
}
